package com.example.attempt.service;

import com.example.attempt.entity.SelectCourse;
import com.example.attempt.entity.Student;

import java.util.List;

public interface SelectCourseService {
    public List<SelectCourse> queryAll();
    public SelectCourse queryOne(SelectCourse select);
    public List<SelectCourse> queryByCid(String cid);
    public List<SelectCourse> queryBySid(String sid);
    public List<Student> getStudents(String cid);
    public int addStudentToCourse(SelectCourse select);
    public void deleteStudentFromCourse(SelectCourse select);
}
